/* Fenil Chandarana Fab Academy 2022 Webpage link: https://fabacademy.org/2022/labs/vigyanashram/students/fenil-chandarana/ */ // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(11, OUTPUT); pinMode(A0, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(11, HIGH); // turn the LED on (HIGH is the voltage level) delay(50); // wait for a second digitalWrite(11, LOW); // turn the LED off by making the voltage LOW delay(50); // wait for a second digitalWrite(11, HIGH); // turn the LED on (HIGH is the voltage level) delay(50); // wait for a second digitalWrite(11, LOW); // turn the LED off by making the voltage LOW delay(50); // wait for a second digitalWrite(A0, HIGH); // turn the LED on (HIGH is the voltage level) delay(50); // wait for a second digitalWrite(A0, LOW); // turn the LED off by making the voltage LOW delay(50); // wait for a second digitalWrite(A0, HIGH); // turn the LED on (HIGH is the voltage level) delay(50); // wait for a second digitalWrite(A0, LOW); // turn the LED off by making the voltage LOW delay(50); // wait for a second }